package legumes.client.services.callbacks;

import legumes.client.services.LegumesServicesHelper;
import legumes.client.services.util.rpc.SequencableRPCCall;

public class SetStoreOpenedCallback extends SequencableRPCCall<Void> {

	private boolean open;

	public SetStoreOpenedCallback(boolean open_) {
		open = open_;
	}

	public void setOpen(boolean open_) {
		open = open_;
	}

	@Override
	protected void doCall() {
		LegumesServicesHelper.LEGUMES_SERVICES.setStoreOpened(open, this);
	}

}